package com.zhuyi.common.enums;

/**
 * 用户状态
 * 
 * @author ruoyi
 */
public enum DataStatus
{
    DISABLE((short) 0, "停用"), OK((short) 1, "正常"), DELETED((short) 2, "删除");

    private final Short code;
    private final String info;

    DataStatus(Short code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public Short getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
